package com.hansheng.dao;

import com.hansheng.entity.*;

import java.util.List;

/**
 * Created by GoldenMan on 2017/5/12.
 */
public interface SheetDao {
    boolean saveSheet(SheetEntity sheetEntity);
    boolean saveOutForm(OutFormEntity outFormEntity);
    boolean saveOutDetail(OutDetailEntity outDetailEntity);
    boolean saveTailing(TailingEntity tailingEntity);
    boolean saveTailingDetail(TailingDetailEntity tailingDetailEntity);
    boolean changeOldSheetStatus(int outId);
    List getSheetListByCondition(String whereHql,Object[] params,int firstResult,int maxResult);
    List getAllOutForm();

    List getOutFormByQuery(String hql, Object[] params);
    List getOutFormListByCondition(String whereHql,Object[] params);
    boolean chooseSheet();
}
